﻿using SqlSugar;
namespace Minotaur.App.Domains.Model.ButtonInfo
{
    /// <summary>
    /// 按钮权限表
    /// </summary>
    [SugarTable("buttonspermission")]
    public class ButtonsPermission
    {
        /// <summary>
        /// 按钮id
        /// </summary>
        [SugarColumn(ColumnName = "btnid")]

        public virtual long? BtnId { get; set; }

        /// <summary>
        /// 权限ID
        /// </summary>
        [SugarColumn(ColumnName = "permissionid")]
        public virtual long? PermissionId { get; set; }

        /// <summary>
        /// 主键ID
        /// </summary>
        [SugarColumn(ColumnName = "autoid", IsIdentity = true, IsPrimaryKey = true)]
        public virtual long AutoId { get; set; }
    }
}
